package com.example.xxpk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.xxpk.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangguihong
 * @since 2025-01-21
 */
public interface UsersMapper extends BaseMapper<Users> {

    int updateUserResources(@Param("userId") Integer userId, @Param("price") Integer price, @Param("propsNum") Integer propsNum);

    List<Users>  userRanking();
}


